package com.tuanzi.loan.business.service.businesssystem;

import com.tuanzi.loan.business.entity.businesssystem.BusinessIncome;
import com.tuanzi.loan.core.service.BaseAuditService;
import com.tuanzi.loan.core.vo.PageSearcher;
import com.tuanzi.loan.vo.request.businesssystem.BusinessIncomeRequest;
import com.tuanzi.loan.vo.response.businesssystem.BusinessIncomeResponse;
import org.springframework.data.domain.Page;

import java.util.Date;

public interface BusinessIncomeService extends BaseAuditService<BusinessIncome,Long> {
    Page<BusinessIncomeResponse> list(PageSearcher<BusinessIncomeRequest> pageSearcher);

    void onSave(BusinessIncome income);

    void autoCount(Date settlementTime, Date endTime);

    Double getAllIncome(BusinessIncomeRequest $);
}
